package com.hxzy.shop.marketing.feign;


import com.hxzy.shop.entity.SysErrLog;
import com.hxzy.shop.marketing.fallback.MerchantFallback;
import com.hxzy.shop.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient(value = "merchant", fallback = MerchantFallback.class)
public interface MerchantFeign {

    /**
     * 保存错误日志
     */
    @PostMapping("/sysErrLog/save")
    public Result<Object> insert(@RequestBody SysErrLog log);


}
